import layout from "@/layout/index.vue";
import { Component } from "vue";
export default {
  path: "/",
  component: layout,
  children: [
    {
      path: "/",
      name: "index",
      component: (): Component => import("@/views/index/index.vue"),
      mata: {
        title: "首页",
      },
    },
    {
      path: "whisper",
      name: "whisper",
      component: (): Component => import("@/views/whisper/index.vue"),
      mata: {
        title: "私语",
      },
    },
    {
      path: "list",
      name: "list",
      component: (): Component => import("@/views/article/list.vue"),
      mata: {
        title: "文章",
      },
    },
    {
      path: "article",
      name: "article",
      component: (): Component => import("@/views/article/index.vue"),
      mata: {
        title: "文章",
      },
    },
    {
      path: "login",
      name: "login",
      component: (): Component => import("@/views/login/index.vue"),
      mata: {
        title: "登陆",
      },
    },
    {
      path: "love",
      name: "love",
      component: (): Component => import("@/views/love/index.vue"),
      mata: {
        title: "爱情买卖",
      },
    },
    {
      path: "link",
      name: "link",
      component: (): Component => import("@/views/link/index.vue"),
      mata: {
        title: "友链",
      },
    },
  ],
};
